#import "Sprite.h"
#import "GameObject.h"
#import "Spell.h"
#define MOVE_DOWNWARD 0
#define MOVE_LEFT 1
#define MOVE_UPWARD 2
#define MOVE_RIGHT 3
@class TileSet;
@interface Entity:GameObject
{
   UIImage* img_attack[9];
   UIImage* portrait;
   Spell* spell[4];

	int curhp, maxhp;     /* Hit Points   (1+)  */
  int curmp, maxmp;     /* Magic Points (0+)  */

  int level, exp;       /* Level & Experience */

  int att;    /* Base hit %   (0+) */
  int dod;    /* Base dodge % (0+) */
  int range;  /* Attack Range (1+)*/
  int spellres; /* Spell resistance */

  int mindam; /* Total min damage   (1+) */
  int damran; /* Total damage range (0+) */
  int armor;  /* Damage reduction   (0+) */

  /* Talents: all rated from 1-10 */
  int strength;
  int precision;
  int reflexes;
  int endurance;
  int speed;
  int willpower;

  /*Items*/
  NSString* item1;
  NSString* item2;
  NSString* item3;
  NSString* item4;

  NSString* weptype, *name,*classname,*type,*weapon;

	bool responsive;
  NSString* resptext; 
  NSString* respevent;
  /* A.I. related variables */
  bool ai;

  int backstab; /* Backstab damage multiplier (in %) */
  
	int move;
	int movement;
  int faction; /* Allegiance */
  /* 0  = neutral
   * 1  = player
   * 2  = enemy
   * 3+ = other groups?
   */

}
@property bool ai,responsive;
@property int move ,movement;
@property int strength,precision,reflexes,endurance,speed,willpower,range,faction,backstab,f,sprite;
@property (nonatomic, retain) UIImage* portrait;
@property (nonatomic, retain) NSString *item1,*item2,*item3,*item4,*name,*classname,*type,*weapon;


@end